package models;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * 节点返回
 */
@Data
public class AsyncFlowResponse<TRes> {
    //code 200表示成功 其他标示失败
    private int Code;
    //消息
    private String Msg;

    //异步流具体返回参数
    private TRes tRes;

    public AsyncFlowResponse(int code, String msg) {
        Code = code;
        Msg = msg;
        tRes = null;
    }

    public AsyncFlowResponse() {

    }
}
